home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Xconq 7.1.0 / src / xconq-7.1.0 / x11 / xcmd.def < prev    next >
Encoding:
Text File  |  1996-07-07  |  1.5 KB  |  61 lines  |  [TEXT/R*ch]

  1. /* X11-specific commands for the X11 interface to Xconq.
  2.    Copyright (C) 1993, 1994, 1995 Stanley T. Shebs.
  3.  
  4. Xconq is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.  See the file COPYING.  */
  8.  
  9. DEF_CMD(  '{' , "zoom-out", "", do_x_zoom_out,
  10.   "zoom out to see less map detail")
  11.  
  12. DEF_CMD(  '}' , "zoom-in", "", do_x_zoom_in,
  13.   "zoom in to see more map detail")
  14.  
  15. DEF_CMD(  'v'  , "flash", "", do_x_flash,
  16.   "flash the current position")
  17.  
  18. DEF_CMD(   0  , "close", "", do_x_map_close,
  19.   "")
  20.  
  21. DEF_CMD(   0  , "map", "", do_x_map,
  22.   "open a new map window")
  23.  
  24. DEF_CMD(   0  , "rv", "", do_x_reverse_video,
  25.   "")
  26.  
  27. DEF_CMD(   0  , "side", "", do_x_side_closeup,
  28.   "")
  29.  
  30. DEF_CMD(   0  , "unit", "", do_x_unit_closeup,
  31.   "")
  32.  
  33. DEF_CMD(   0  , "orders", "", do_x_orders_popup,
  34.   "")
  35.  
  36. DEF_CMD(   0  , "world-map", "", do_x_world_map,
  37.   "open a new window that is zoomed to show the whole world")
  38.  
  39. #ifdef DESIGNERS
  40.  
  41. DEF_CMD(  '|' , "set-unit-type", "", do_x_set_unit_type,
  42.   "modify unit type (designers only)")
  43.  
  44. DEF_CMD( '\\' , "add-unit", "", do_x_add_unit,
  45.   "build a new unit (designers only)")
  46.  
  47. DEF_CMD(  '~' , "set-terrain-type", "", do_x_set_terrain_type,
  48.   "modify paint type (designers only)")
  49.  
  50. DEF_CMD(  '`' , "paint-terrain", "", do_x_paint_terrain,
  51.   "modify terrain (designers only)")
  52.  
  53. #endif /* DESIGNERS */
  54.  
  55. #ifdef DEBUGGING
  56.  
  57. DEF_CMD(   0  , "mono", "", do_x_fake_mono,
  58.   "pretend to be a monochrome display")
  59.  
  60. #endif
  61.